package cn.zn.modules.budget.cur.controller;

import cn.zn.framework.common.utils.R;
import cn.zn.modules.budget.cur.service.TBudgetInfoDetailFreezsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("budget/budgetinfodetailfreezs")
public class TBudgetInfoDetailFreezsController {

    @Autowired
    private TBudgetInfoDetailFreezsService tBudgetInfoDetailFreezsService;

    @PostMapping("apply/{budgetInfoId}")
    public R info(@PathVariable String budgetInfoId, @RequestBody Map<String, Object> params) {
        return R.ok().put("list", tBudgetInfoDetailFreezsService.queryFreezsApply(budgetInfoId, params));
    }
}
